home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / tutorial / multimed.zip / MMM25.EXE / COMMANDS.LIB < prev    next >
Text File  |  1995-03-16  |  9KB  |  211 lines

  1.  COMMAND NAME   DESCRIPTION                           EXAMPLES
  2.  ─────────────────────────────────────────────────────────────────────────────
  3.  SAY-SB         Sound Board SAY will output VOC       say-sb sfx1.voc
  4.                 files to your sound board. You can 
  5.                 have up to 20 VOC files in one 
  6.                 say-sb command.
  7.  
  8.  SAY            Will output speech, music and sound   say hello.pc
  9.                 effects thru the PC speaker. You can  say seeya.pc sfx1.pc
  10.                 have up to 20 sound files in one SAY
  11.                 command.
  12.  
  13. *PLAY           Will play WAV, VOC, MIDI and CMF      play hi.wav
  14.                 sound files thru the sound board.     play music.wav
  15.                 If no sound board is detected,        play *.cmf
  16.                 the VOC file will play thru the       play thankyou.voc
  17.                 PC speaker.
  18.  
  19. *SAY-PC         Will output sound board VOC files     say-pc thankyou.voc
  20.                 thru the pc speaker.
  21.  
  22. *SAY-PRO        Will output stereo VOC files thru     say-pc intro.voc
  23.                 a stereo sound board.
  24.  
  25.  PLAY-CMF       Outputs Creative Music Files          play-cmf intro.cmf
  26.                 (*.CMF) to the Sound Blaster
  27.                 system. use b for background mode.    play-cmf intro.cmf b
  28.  
  29.                 NOTE: When you are using PLAY-CMF to
  30.                 play Creative Music Files in the
  31.                 background mode, it is necessary to
  32.                 put the letters CMF after each
  33.                 show-pcx and clear command.
  34.  
  35.  STOP-CMF       Will stop a CMF file that is playing  stop-cmf
  36.                 in background mode.
  37.  
  38.  SHOW-PCX       Will display a graphic image file     show-pcx blue.pcx blind
  39.                 with a screen effect (blind, crush,   show-pcx menu.pcx sand
  40.                 diagonal, explode, spiral, split,
  41.                 weave, slide, random, sand and drip).
  42.  
  43. *SHOW-GIF       Will display a graphic image file     show-gif house1.gif blind
  44.                 with a screen effect (blind, crush,   show-gif house1.gif sand
  45.                 diagonal, explode, spiral, split,
  46.                 weave, slide, random, sand and drip).
  47.  
  48. *SHOW           Will display a graphic image file.    show blueyes.gif
  49.                 Supports pcx, gif, pic, tif or tga.   show menu.pcx
  50.                 Refer to the Image Processor for
  51.                 more show information.
  52.  
  53. *SHOW-WIN       Will display a graphic image file     show-win house.pcx
  54.                 with a scroll down effect. Supports
  55.                 GIF and PCX only.
  56.  
  57. *SHOW-WIN  X Y  Will display a graphic image file     show-win eye.pcx 76 142
  58.                 as an overlay, window or on top of    show-win eye.pcx 0 84
  59.                 a graphic image.
  60.  
  61.  CLEAR          Will clear a PCX graphic image with   clear mm1.pcx fade
  62.                 a screen effect (fade, blind, crush,  clear blue.pcx spiral
  63.                 diagonal, explode, spiral, split,
  64.                 weave, slide and random).
  65.  
  66. *CLEARGIF       Will clear a GIF graphic image with   cleargif house1.gif fade
  67.                 a screen effect (fade, blind, crush,  cleargif house1.gif spiral
  68.                 diagonal, explode, spiral, split,
  69.                 weave, slide and random).
  70.  
  71.  PALETTE        Will rotate the palette thru all of   palette blue.pcx
  72.                 the palette colors (pcx only).
  73.  
  74. *PAL-GIF        Will rotate the palette thru all of   pal-gif house1.gif esc
  75.                 the palette colors (gif only).
  76.  
  77. *VIEW           Will view a pcx of gif file with      view house.pcx
  78.                 scroll and zoom control.
  79.  
  80. *VIEWSVGA       Will view a pcx of gif SVGA file      viewsvga house1.gif
  81.                 with scroll and zoom control.
  82.  
  83. *SCROLL UP      Will scroll up the graphic screen.    scroll up
  84.  
  85. *SCROLL DOWN    Will scroll down the graphic screen.  scroll down
  86.                 This is a soft scroll effect.
  87.  
  88. *ZOOM IN        Will zoom in the graphic screen.      zoom in
  89.  
  90. *ZOOM OUT       Will zoom out the graphic screen.     zoom out
  91.                 This is a fast zoom effect.
  92.  
  93. *ROTATE         Will rotate the graphic screen 180.   rotate
  94.  
  95. *ROTATE x       Rotates the graphic screen x times.   rotate 20
  96.  
  97. *NEGATIVE       Will invert the graphic screen.       negative
  98.  
  99. *NEGATIVE x     Inverts the graphic screen x times.   negative 10
  100.  
  101.  DELAY          Will wait for 1 second.               delay
  102.  
  103.  DELAY x        Will wait for x seconds.              delay 3
  104.                 30 seconds is the maximum.
  105.  
  106.  DELAY-KB xxx   Will wait for xxx seconds or wait     delay-kb 120
  107.                 until the user presses a keyboard
  108.                 key. 300 seconds is the maximum.
  109.                 Use this to create a self running
  110.                 demo.
  111.  
  112. *MILLI x        Will causes a delay measured          milli 3
  113.                 in tenths of a second before the
  114.                 next command is initiated.
  115.  
  116.  KEY            Will wait for the user to press       key
  117.                 any keyboard key.
  118.  
  119.  KEY 123Q       Will wait for the user to press       key 123456789Q
  120.                 a menu key(123 or Q) and returns
  121.                 the key pressed. Use this to create   key YN
  122.                 a menu or ask a question. Refer to
  123.                 manual.exe for more information.      key ABC
  124.  
  125. *CHECKKEY       Is designed to create a LOOP in       checkkey
  126.                 your program so that your graphics    if errorlevel 1 goto next
  127.                 will continue to cycle until a key
  128.                 is pressed.
  129.  
  130.  MOUSE-ON       Will turn the mouse on so the user    mouse-on
  131.                  can use the mouse cursor as a
  132.                 pointer.
  133.  
  134. *MOUSE-XY       Will check to see if the mouse in     mouse-xy 10 10 50 50
  135.                 in a area on the screen and return
  136.                 the X and Y mouse locations and the
  137.                 mouse button status
  138.  
  139.  GTEXT          Displays a text line on top of a      gtext "JUPITER TAKES ALMOST" 21 20 8 160 260
  140.                 graphic image in 3 point sizes        gtext "12 YEARS TO REVOLVE" 22 20 8 160 260
  141.                 and any color.
  142.  
  143.                 Usage: gtext "your text" row column size fcolor bcolor
  144.                        size is font size of 8, 14 or 16
  145.                        fcolor is font color number 0-255 for VGA
  146.                        bcolor is background color number 0-255 for VGA
  147.                        A bcolor greater then 255 will appear transparent.
  148.  
  149.                        The parameter, "row," must be less than the vertical
  150.                        resolution of the video mode divided by the font point
  151.                size. Example: 200 divided by 8 equals 25 rows.
  152.  
  153. *GTEXT1         script font type
  154.  
  155. *GTEXT2         gothic font type
  156.  
  157. *GTEXT3         thin font type
  158.  
  159. *PRINTSCR       Will print the graphic screen to       printscr
  160.                 a dot matrix printer(high quality).
  161.  
  162.  NAME           Will input the users name, address     name
  163.                 or any data you ask the user. This
  164.                 info. will be stored in a text file
  165.                 called ANSWERS.TXT.
  166.  
  167.  STORE          Will store data in a text file. This   store yes
  168.                 can be used to create a answer file    store no
  169.                 that can be used to check the users    store 2
  170.                 answers to questions. The text file
  171.                 is ANSWERS.TXT
  172.  
  173. *BAT2EXE        Will compile your batch file into      bat2exe example1.bat
  174.                 an EXE file. This will make the
  175.                 program run faster and encrypt
  176.                 the data.
  177.  
  178.  CLEANUP        This has to be the last command        cleanup
  179.                 in your batch file, this will
  180.                 CLEANUP memory, display and temp.
  181.                 disk space. * REQUIRED *
  182.  
  183. * = Only available on the advanced version of Multimedia Maker.
  184.  
  185.  
  186.  OTHER BATCH COMMANDS AVAILABLE THRU DOS
  187.  ─────────────────────────────────────────────────────────────────────────────
  188.  
  189.  ECHO OFF       Turns off the commands echo. this      echo off
  190.                 will not echo the commands to the      echo on
  191.                 screen.
  192.  ECHO text      Will echo text to screen.              echo HELLO WELCOME TO MY PROGRAM
  193.  
  194.  CLS            Will clear the text screen.            cls
  195.  
  196.  CALL           Calls one batch file from another      call example1.bat
  197.                 without ending itself.
  198.  
  199.  GOTO           Process commands starting with the     goto menu_again
  200.                 line after the specified label.
  201.                 :menu_again is a label example.
  202.  
  203.  IF             Performs a command if a condition      if errorlevel 1 goto menu1
  204.                 is met. This is used in conjunction    if errorlevel 2 goto menu2
  205.                 with the KEY command, to ask the
  206.                 user a question and read the response.
  207.                 Refer to example4.bat for more info..
  208.  
  209.  
  210.  FOR MORE INFORMATION ON BATCH FILES REFER TO YOUR DOS MANUAL.
  211.  ─────────────────────────────────────────────────────────────